class BikeRealTimeM {
  BikeRealTimeM({
      this.wheelLock, 
      this.voltage, 
      this.voltageMv, 
      this.gsm, 
      this.helmetLock, 
      this.helmetReact, 
      this.helmet6Lock, 
      this.helmet6React, 
      this.bmsSoc, 
      this.bmsVoltage, 
      this.isHeadingProduct, 
      this.headingAngle, 
      this.fixType, 
      this.isSupportRfid, 
      this.isSupportBeacon, 
      this.isSupportWirelessPreciseParking, 
      this.rfidCardId, 
      this.wirelessPreciseParkingId, 
      this.beaconAddr, 
      this.lat, 
      this.lng, 
      this.isHelmetFix, 
      this.acc,});

  BikeRealTimeM.fromJson(dynamic json) {
    wheelLock = json['wheel_lock'];
    voltage = json['voltage'];
    voltageMv = json['voltage_mv'];
    gsm = json['gsm'];
    helmetLock = json['helmet_lock'];
    helmetReact = json['helmet_react'];
    helmet6Lock = json['helmet6_lock'];
    helmet6React = json['helmet6_react'];
    bmsSoc = json['bms_soc'];
    bmsVoltage = json['bms_voltage'];
    isHeadingProduct = json['is_heading_product'];
    headingAngle = json['heading_angle'];
    fixType = json['fix_type'];
    isSupportRfid = json['is_support_rfid'];
    isSupportBeacon = json['is_support_beacon'];
    isSupportWirelessPreciseParking = json['is_support_wireless_precise_parking'];
    rfidCardId = json['rfid_card_id'];
    wirelessPreciseParkingId = json['wireless_precise_parking_id'];
    beaconAddr = json['beacon_addr'];
    lat = json['lat'];
    lng = json['lng'];
    isHelmetFix = json['is_helmet_fix'];
    acc = json['acc'];
  }
  num? wheelLock;
  num? voltage;
  num? voltageMv;
  num? gsm;
  num? helmetLock;
  num? helmetReact;
  num? helmet6Lock;
  num? helmet6React;
  num? bmsSoc;
  num? bmsVoltage;
  num? isHeadingProduct;
  num? headingAngle;
  num? fixType;
  num? isSupportRfid;
  num? isSupportBeacon;
  num? isSupportWirelessPreciseParking;
  String? rfidCardId;
  String? wirelessPreciseParkingId;
  String? beaconAddr;
  num? lat;
  num? lng;
  num? isHelmetFix;
  num? acc;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['wheel_lock'] = wheelLock;
    map['voltage'] = voltage;
    map['voltage_mv'] = voltageMv;
    map['gsm'] = gsm;
    map['helmet_lock'] = helmetLock;
    map['helmet_react'] = helmetReact;
    map['helmet6_lock'] = helmet6Lock;
    map['helmet6_react'] = helmet6React;
    map['bms_soc'] = bmsSoc;
    map['bms_voltage'] = bmsVoltage;
    map['is_heading_product'] = isHeadingProduct;
    map['heading_angle'] = headingAngle;
    map['fix_type'] = fixType;
    map['is_support_rfid'] = isSupportRfid;
    map['is_support_beacon'] = isSupportBeacon;
    map['is_support_wireless_precise_parking'] = isSupportWirelessPreciseParking;
    map['rfid_card_id'] = rfidCardId;
    map['wireless_precise_parking_id'] = wirelessPreciseParkingId;
    map['beacon_addr'] = beaconAddr;
    map['lat'] = lat;
    map['lng'] = lng;
    map['is_helmet_fix'] = isHelmetFix;
    map['acc'] = acc;
    return map;
  }

}